{extend name="index/base" /}
{block name="main"}
<div class="container">
    <table class="table table-bordered">
        <caption>起点搜索结果</caption>
        <thead>
        <tr>
            <th>书名</th>
            <th>作者</th>
            <th>起点链接</th>
            <!--<th>最新章节(因起点缓存问题，最新章节可能不准)</th>-->
        </tr>
        </thead>
        <tbody>
            {foreach $data as $value}
            <tr>
                <td><a href="{:url('index/index/queryListBaidu',array('book'=>$value.name))}?link={$value.link}">{$value.name}</a></td>
                <td>{$value.author}</td>
                <td><a href="{$value.link}">{$value.link}</a></td>
                <!--<td>{$value.update}</td>-->
            </tr>
            {/foreach}
        </tbody>
    </table>

</div>
{/block}